<?php
$db->query('select * from p_system_config');
$arr = array();
while($row = $db->fetch_array()){
	
	$arr[$row['key_en']]=$row['value'];
	
	}
$db->query('select * from p_page_content');
$arr_priv = array();
while($row = $db->fetch_array()){
	
	$arr_priv[$row['key_en']]=$row['value'];
	
	}
$smarty->assign('instr',$arr['instr']);
$smarty->assign('website_name',$arr['website_name']);
?>